<div>
    <button class="btn add-friend-btn" name="{{button.name}}" ng-class="button.class" ng-click="communicate()" ng-show="!isLoading">{{button.label}}</button>
    <button class="btn btn-default add-friend-btn" id="loading" ng-show="isLoading" disabled><i class="fa fa-refresh fa-spin"></i> loading... </button>
</div>